.header {
  max-width: 700px;
  padding: 100px 0;
  margin: 0 auto;
  -webkit-background-size: cover;
  background-size: cover;
}
.header .title {
  text-align: center;
  font-family: auto;
  text-decoration: none;
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 5px;
  line-height: 1;
}
.header .title .logo {
  color: #000;
  text-decoration: none;
}
.motto {
  text-align: center;
}
/*animation starts*/
.animated {
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
}
.animated.hinge {
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
}
@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}
@-moz-keyframes fadeInDown {
  0% {
    opacity: 0;
    -moz-transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}
@-o-keyframes fadeInDown {
  0% {
    opacity: 0;
    -o-transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -o-transform: translateY(0);
  }
}
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  -moz-animation-name: fadeInDown;
  -o-animation-name: fadeInDown;
  animation-name: fadeInDown;
}
/*animation ends*/
/* Menu样式 */
.menubutton {
  display: block;
  float: right;
  padding-top: 30px;
}
.dropbtn {
  display: inline-block;
  position: relative;
  padding: 0.7em 1.25em;
  outline: 0;
  color: rgba(0,0,0,0.44);
  background: rgba(0,0,0,0);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.15);
  white-space: nowrap;
  font-weight: 400;
  font-style: normal;
  border-radius: 999em;
  margin-top: 5px;
}
.dropdown {
  position: relative;
  display: inline-block;
  width: 120px;
}
.dropdown-content {
  display: none;
  position: absolute;
  z-index: 1;
}
.dropdown-content a {
  display: inline-block;
  position: relative;
  padding: 0.7em 1.25em;
  outline: 0;
  color: rgba(0,0,0,0.44);
  background: rgba(0,0,0,0);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.15);
  white-space: nowrap;
  font-weight: 400;
  font-style: normal;
  border-radius: 999em;
  margin-top: 5px;
}
.dropdown-content a:hover {
  border-color: #42b983;
  color: #42b983;
  text-decoration: none;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  border-color: #42b983;
  color: #42b983;
  text-decoration: none;
}
.nav {
  width: 100%;
  height: 80px;
  box-shadow: 0 3px 3px 0 #ccc;
  background: #fff;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  overflow: hidden;
  transition: 0.3s;
  display: none;
}
.nav.index {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 0 0 rgba(0,0,0,0.05);
}
.nav.scroll {
  background: #fff;
  box-shadow: 0 3px 3px 0 rgba(0,0,0,0.05);
  transition: 0.3s;
}
.nav .layui-container {
  position: relative;
  transition: all 400ms ease-out;
}
.nav .nav-logo {
  height: 100%;
  position: absolute;
  top: 0;
  left: 15px;
  line-height: 70px;
}
.nav .nav-list {
  display: inline-block;
  height: 80px;
}
.nav .nav-list button {
  width: 25px;
  height: 30px;
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.fa-fort-awesome {
  color: #ff6b6b;
}
.fa-calendar-check {
  color: #0abde3;
}
.fa-hashtag {
  color: #feca57;
}
.fa-folder-open {
  color: #1dd1a1;
}
.fa-grav {
  color: #9a6af7;
}
.fa-telegram {
  color: #0095ff;
}
.fa-weixin {
  color: #1fc578;
}
.nav .nav-list button span {
  display: block;
  width: 25px;
  height: 2px;
  background: #000;
  margin-bottom: 6px;
  transition: 0.5s;
}
.nav .nav-list button span.spa1 {
  transform: rotate(45deg);
}
.nav .nav-list button span.spa3 {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav .layui-nav {
  width: 100%;
  position: absolute;
  top: 80px;
  right: 0;
  color: #000;
  background: transparent;
}
.nav .layui-nav .layui-nav-item {
  display: inline-block;
  margin: 0;
  padding: 1em;
}
.nav .layui-nav * {
  font-size: 18px;
}
.nav .layui-nav .layui-nav-item a {
  padding: 0 0;
  color: #000;
}
.nav .layui-nav-bar,
.nav .layui-nav .layui-this:after {
  height: 2px;
  background-color: #517acd;
}
.nav .layui-nav .layui-this a,
.nav .layui-nav .layui-nav-item a:hover {
  color: #517acd;
}
@media screen and (min-width: 768px) {
  .nav {
    max-height: 60px;
  }
  .nav.index {
    background: rgba(255,255,255,0.3);
  }
  .nav .nav-list button {
    display: none;
  }
  .nav .layui-nav {
    width: auto;
    position: absolute;
    top: 0;
    padding: 0 5px;
    border-radius: 0;
    margin: 0;
  }
  .nav .layui-nav .layui-nav-item {
    display: inline-block;
    margin: 0 0rem;
  }
}
@-moz-keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
